package com.wwdx.wechat.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 支付宝支付配置
 * @author liguoliang
 */
@Configuration
public class AliPayConfig {

    @Value("#{constantProperties['partner']}")
    private String partner;

    @Value("#{constantProperties['private_key']}")
    private String privateKey;

    @Value("#{constantProperties['sign_type']}")
    private String signType;

    @Value("#{constantProperties['service']}")
    private String service;

    @Value("#{constantProperties['seller_id']}")
    private String sellerId;

    @Value("#{constantProperties['notify_url']}")
    private String notifyUrl;

    public String getPartner() {
        return partner;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public String getSignType() {
        return signType;
    }

    public String getService() { return service; }

    public String getSellerId() {
        return sellerId;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }
}